gulp-rename - npm
See testrename. spec. js for more examples and testpath-parsing. spec. js for hairy details. . Notes. dirname is the relative path from the base directory set by gulp. src to the filename. . gulp. src() uses glob-stream which sets the base to the parent of the first directory glob (*, **, [], or extglob). dirname is the remaining directories or . if none. glob-stream versions >= 3. 1. 0 (used by gulp . . .
more